﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DcsGauges.Shared.Exceptions
{
    [Serializable]
    public class DcsPropertyResolveException : Exception
    {
        public DcsPropertyResolveException() { }
        public DcsPropertyResolveException(int deviceId, int argumentId) : base(string.Format(Localization.ExcPropertyResolve2A, deviceId, argumentId)) { }
        public DcsPropertyResolveException(int deviceId, int argumentId, Exception inner) : base(string.Format(Localization.ExcPropertyResolve2A, deviceId, argumentId), inner) { }
        protected DcsPropertyResolveException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }
}
